package com.haoze.nurseapp.service;

import com.haoze.common.response.Result;
import com.haoze.nurseapp.model.DrugCollectionEntity;
import com.haoze.nurseapp.model.StaticmedicineRecordEntity;

import java.util.List;

public interface InpDispensaryService {
    /**
     * 获取批次记录
     * @param wardId
     * @param dateTime
     * @param startDate
     * @param endDate
     * @return
     */
    Result queryList(String wardId, String dateTime, String startDate, String endDate);

    Result queryAppList(String wardId, String dateTime, String startDate, String endDate);

    /**
     * 获取指定批次药品
     * @param docNo
     * @param page
     * @param pageSize
     * @return
     */
    Result docDetailList(String docNo, String type, Integer page, Integer pageSize);

    /**
     * 上报缺失药物
     * @param list
     * @return
     */
    Result lackMedical(List<DrugCollectionEntity> list);

    Result bedList(String docNo, String phamStdCode, Integer page, Integer pageSize);

    Result bedDetailList(String docNo, Integer page, Integer pageSize);

    Result docDefectDetailList(String docNo, Integer page, Integer pageSize);

    Result queryReason();

    Result docStaticDetailList(String date, String wardId, Integer page, Integer pageSize, String notInbarCodes, String barCodes, String type, String searchValue);

    Result queryReturnReason();

    Result docStaticDetailNum(String date, String wardId);

    Result addReturn(List<StaticmedicineRecordEntity> list);

    Result pcDocDetailList(String docNo, String drugName, String reqId);

    Result pcReceivedList(String docNo, String drugCode, String reqId);

    Result pcDefectedList(String docNo, String drugCode, String reqId);

    Result pcPatientPersonList(String docNo, String drugCode, String isPrint, String reqId,String prescNo);

    Result pcPatientDrugList(String docNo, String patientInfo, String drugName, String reqId);

    Result pcPrintSendDrug(String docNo, String drugCode);

    Result pcWritePrintSendDrug(String docNo, String drugCode, String inpatNum);

    Result pcNotSendInfo(String docNo,String patientInfo,String orders);

    Result docAllStaticDetailList(String date, String wardId, Integer page, Integer pageSize, String notInbarCodes, String barCode, String type, String searchValue);

    Result pushFullStaticCenter(String date);
}
